package com.rbac.modules.system.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "分配用户请求")
public class AssignUserDTO {
    
    @NotNull(message = "角色ID不能为空")
    @Schema(description = "角色ID")
    private Long roleId;
    
    @NotEmpty(message = "用户ID列表不能为空")
    @Schema(description = "用户ID列表")
    private List<Long> userIds;
} 